Wrap with weakmethod callbacks from Readable and Writable streams.

Bound method of class keeps a reference to the class object, as well as the
method to be stored in the ioloop instance, the objects of services
never collected with GC. Wrapping with weakmethod avoids this.