add server connection
Merge pull request #4 from ifay/master

add server connection