Added error handling for failed transports.  (Needs some testing, so there most likely will be further updates.)
Changed classpath to export Http libs.