I, like many others, have been experiencing the "Cannot connect to server - ProtocolError" message.
In my case I was using a proxy server - after I switched it off I had no further difficulties connecting to and downloading from UGRIB.
May not be a universal fix but it appears to work for me.