encode :properties using HTTP/1.1 header format