added socket sample
added comments on http response usage