Simplify running instructions for server.
Changed URL case to match RFC.
Support encoding of single and arrays of entities

The changed interface allows re-use of the SignedData encoder between
X509Certificate and X509Certificate[].