dual protocol codec

Support services that can decode a binary protocol and HTTP on
the same port. Useful for administrative services (like health checks)
where normal web tools can be used to query the admin services without
sacrificing the benefits of the binary protocol and without needing
a second port.