Fixed send method always requiring a sender agent (which is not needed for http, only for xmpp)
neatly closing buffered reader now
Fixed method hasInterface not finding extended interfaces