Added properties to set a proxy using the http stream consumer

This change as it is requires to up cast. Need to define a proper way using the factory pattern or update the abstract class StreamConsumer.