Added disconnection/reconnection support.
Add generic status message support.