Finally got the response to work.

Was a bug in the handshake returning a message after the header.