Fixed bug where malformed headers were being sent (missing whitespace).