Woops, forgot CRLF and added a closeAndWait like http has