Started work on network connection.

Connection is not reliable yet.