patch - rest_client requests - ensure headers are written / read correctly