Reference protocol of Beanstalkd (v1.9):
https://github.com/kr/beanstalkd/blob/v1.9/doc/protocol.md