Make sure socket is passive once we've done with loop handler

It is sometimes important to make a socket passive as it was initially
and as it is expected to be by cowboy_protocol, right after we've done
with loop handling.
Merge branch 'fix/loop_socket_passive' of git://github.com/keynslug/cowboy