General improvements

New pro to implemented.
Getting cert and key from []byte array.
Web payload structs added.