Send malformed heartbeat after receiving GET request, to avoid 'unexpected message' alert from the server when it sees the GET request
Be smarter about hearbeat extension