Added additional debugging around asyncronous sockets