Revert previous prepared statement changes: rewrote http_request to
avoid SQL injection by proper escape'ing strings