https requests now working

Previously it was trying to request and https through port 80 resulting in an SSL error. Now fixed.