Added socket support for requests