put in comm_method switches, but not making initial selection...
think I have the code merged so can do both http and wamp from wamp directory
trying to improve http vs wamp detection. reading port and server from server_conf.json now in js