Made changes to AutoTransport to remove web sockets from transports if not supported

#1884