Added socket transports option for faster loading through apache proxy.

Apache has no support for proxying websockets. When the dashboard loads it first attempts a normal websocket and then fallsback on ajax polling. This change adds a config option to skip the websocket attempt and go straight to polling. This makes the dashboard loading almost instant if set correctly when proxied through apache.