OS X is more strict about what gets passed to connect()