Update to handle protocol version 0.4 and bewits