Extended HTTP _request to allow arbitary jQuery AJAX options

Allows jQuery ajax options such as beforeSend. etc.