Client to server connection

Fixes #3