fixed Hearbeat frame (removed extra new line)
removed unreachable code (not needed in GO 1.1)