HTTP request fixes