Added more tests for negative/corner cases.
Properly handle the "UNKNOWN" transport protocol.
Added module documentation.