Add bytebuffer convenience methods. Clear sockets when context is closed