modify server protocol parser