Added HTTP request layer handling