* Changes lost during merge from websocket branch

Signed-off-by: Jiri Hnidek <jiri.hnidek@tul.cz>