Correctly pass configured port to Connection

Fixes #35