put socket.io into a React Context. Make instant messaging work

Change-Id: I8576dbf8bf5e8d749a0453fc49a7d6c8a26e3915
diff --git a/client/src/contexts/socket.js b/client/src/contexts/socket.js
new file mode 100644
index 0000000..bb59030
--- /dev/null
+++ b/client/src/contexts/socket.js
@@ -0,0 +1,9 @@
+
+import React from "react";
+
+export const SocketContext = React.createContext();
+export const SocketProvider = ({socket, children}) => (
+    <SocketContext.Provider value={socket}>
+        {children}
+    </SocketContext.Provider>
+)
\ No newline at end of file