Minor changes to PostHandler.
The connection currently blocks on sending post data.