added server connection methods
Merge pull request #27 from haavardlian/client-connection

added server connection methods