Add initial parts of pump.io protocol support