WebSocketSender - some code cleaning/formating and created the default values for some properties.