First attempt at "buffered sockets"

Need to test and such.