Added a method to get raw information about the current connection.