HTTP server serving requests partially working

Requests partially working.. if u emulate a request from test socket...
it works flawlessly.. but on opeingin it in chrome, page loads for the
first time.. then fails the second.. same issue with the sample app..
Leaving this as it is for now