Improved reconnection for protocol buffers connections
Added reconnection functional tests
Restored old behaviour on exception handling; adjusted sleep time for
reconnection