authentication added

Implementation of protocol enhancement described in https://github.com/RobotWebTools/rosbridge_suite/issues/29 This functionality is optional and only enabled if a parameter is explicitly set. That is, the functionality is unchanged (backwards compatible) if no authentication is used.