Replaced write() methods with send() methods to comply with the QAbstractSocket API
Added QT_BEGIN_NAMESPACE and QT_END_NAMESPACE to files
Documented internal classes and methods as \private
Added check on QT_NO_NETWORKPROXY to include proxy functionality only when required
Added missing functionality after a comparison between QWebSocket and QTcpSocket and between QWebSocketServer and QTcpServer
Added extra signal reemission
Cleaned up unused signals
Reordered the lines a bit