first part of documentation improvement
fix websocket problem with firefox when not connected to internet; change 'localhost' to '127.0.0.1'