mocks LWP::UserAgent and handles requests/responses
