why not just do
    host, port = host.split(':') << MongoClient::DEFAULT_PORT