Second part of the refactor
- Also fixes #21 with addPayloadToBuffer:
- Sends POST request using sendSynchronousRequest:returningResponse:error: