Add path style support for POST

HTTP POSTs don't currently work when using the path style url due the bucket not being detected.