Added ping interval configuration.

Added a new config: default_ping_interval
Also added option to override this value in the ConnectionAdapter.
This allows the ping interval to be set on a per-client basis.
Merge pull request #195 from maharifu/master

Added ping interval configuration.