C:\Program Files\Steam delete ClientRegistry.blob, this has always fixed my steam connection problems. It regenerates when you start steam again.