Added written to Connection interface and eliminated code duplication in Connection implementations.
Added written to Connection interface and eliminated code duplication in Connection implementations.

TheMightyBuzzard/irc,TheMightyBuzzard/irc,belak/irc,aatxe/irc