Remove unnecessary method: Socket.write