HTTPS proxy's arn't currently working

Change-Id: Ideb8ef9c5495513a9bbba501f1fd3fe87b2672cc
Tidying up toci.sh

Change-Id: I7c75c90e52860063f8a7be1b907d4cd3afa3cc73