fixed wss mapping in the client - no more WS_PORT param
adding statsCalculator (not in used yet)