Fix shutdown of binary protocol server

patch by slebresne; reviewed by iamaleksey for CASSANDRA-5507
Merge branch 'cassandra-1.2' into trunk