Quick workaround for sockets now providing bytes stream.