Added new method to check on which type of connection you are
Merge pull request #2 from arnoappenzeller/master

Added new method to check on which type the connection has.