Bug fix: server crashed, because it tried to send unset value.

* This happened only in situation, when TCP or WebSocket was used.