A Redis protocol parser for server side