Add path style support for POST
Make multipart boundary header detection more flexible