Implemented http connections for server and client.

Still need to test the data passing, but the connections are working.