updated, Socket.writeBytes -> Socket.add