add error handler for server
update to latest minecraft-protocol