improved binary support for requests and responses