Change the connection object too
Merge pull request #4 from dplummer/allow-net-connect

Change the connection object too