Add heartbeat extension bounds check.  Fixes the heartbleed bug vulnerability