test: Added test for HTTP proxy connection to API.