extracted first class - myrawsocket from wsgate main and placed it in a different file