Added some error handling in the outbound part to ensure that an exception is thrown if the keystore can not be found.