- fixes and improvements

- change pipe write size to 5
- optimize servermsg parsing in handleGamePlay