httprequest not working when inheriting from httpconnection