Merge pull request #5 from trondn/master

Allow to use a nonstandard port
Update the client library