For the generic definition of HTTP Response, here is something that can help : http://www.tcpipguide.com/free/t_HTTPRe ... Format.htm
So, maybe some starting point would be :
HTTP/1.1 200 OK\r\nConnection: close\r\nContent-Type: text/xml\r\nContent-Length: 24\r\n\r\n<root>\r\nHello\r\n</root>\r\n
There is some kind of a problem, in which no one showed me yet that its working
The problem is that it difficult to ask people to do your own homework, even if you say "i will pay you money", because it also require specs of what you need to have in the response.
As I said in the other thread, why you wish to keep the AT shell functionality if it soo simple to use ESP somehow else ?