Removed warning because of incorrect initialization order of serverSideSocket.
Made maxBytesPerFrame const.
Added error string when connection is considered refused because of websocket issues.
Added error code and error string update from tcpSocket on error signal.
Enabled bytesWritten signal in case of successful write.
Added local address/port update after succesful connection.
Reindent all project

Signed-off-by: Alexandr Zarubkin <me21@yandex.ru>