Added ability to connect to non-SSL server