remove commented code.
move to a proper role type for client|server
remove useless import
explicitly pass role and version to setMasterSecret and derivative
move pending cipher and compression in the handshake state

adjust code to cope
move setMasterSecret and setKeyBlock to the handshake layer.
remove getMasterSecret accessor
add ability to specify user-agent in simpleclient
more cleanup / separation with handshake state.
fix stunnel argument parsing
update test script to run with the new updated argument