Added 'next' function to the 'Connector' class and added flag to make sure only HTTP GET requests are sent.