refactor(socket) onMessage: pSocket -> callback