An AMD module for HTTP requests