lua-sockets: allocate iobuf only when required.
lua-sockets: don't free iobuf on accept failure.