Check if 'certificate' is present before checking length

Attempting to access the length of a 'non-present' certificate throws a null reference exception when running Nancy as an ASP.NET app under Mono's `fastcgi-mono-server4` host

To avoid the exception, this patch first checks that the certificate `IsPresent` before accessing the certificate's `Length` property.