Can now specify url via options object in connect() function