Cometd/Bayeux Protocol

Anyone got and example of a cometd handshake over an http transport? I open a socket send my header and handshake request but always get an error saying no bayeux message found so I thinking the syntax of my handshake request is wrong so if anyone has a working example I'd appreciate some help.
0
Comments
Once the port is opened I send:
The following is received in debug: