fix posting to use buffers instead of strings, now works with arbitrary binary data