Rework queue handling and error reporting, close #4249
Land #4281, ::Queue workarounds for 2.1.x

Conflicts:
	lib/msf/core/handler/reverse_tcp.rb