In the wake of HeartBleed, how can companies improve security?

http://en.wikipedia.org/wiki/Heartbleed

Insufficient web hosting security has been a subject of concern lately as successful online security breaches, like the widely publicized HeartBleed bug, have made waves across the media.

Insufficient web hosting security has been a subject of concern lately as successful online security breaches, like the widely publicized HeartBleed bug, have made waves across the media. Hackers are becoming increasingly advanced, and small businesses and major corporations alike are the prized targets of hackers aiming to exploit sensitive data. Consider Target’s security and payments system, which was compromised days before Thanksgiving 2013. The breach affected the company’s 1,797 U.S. stores and resulted in the theft of over 40 million credit cards.