Add Transport:secure/0

Currently Ranch checks if a connection is secure by checking if its name
is 'ssl'. This isn't a very modular solution, adding an API function
that returns whether a connection is secure.
Merge branch 'add_transport_secure' of git://github.com/matrixise/ranch