Core/connection: Fix error on disconnect/quit. Remove "quitting" flag as unnecessary. Will continue message queue and quit after the QUIT message is processed.

Signed-off-by: Martin Stone <martin@d7415.co.uk>