Include port as a connection parameter for socket connections
Fixes travis build for 0.8
Merge pull request #604 from markyen/socket-port

Include port as a connection parameter for socket connections