split rawSocket to rawSocket{client, server}