Added ability to connect directly to a server.