Created MySocket class