code: private Object readResolve() throws ObjectStreamException {
  		try {
  			return create(hostname, cookieValue);
  		}
  		catch (final IOException | GeneralSecurityException e) {
  			throw new ObjectStreamException(e.getMessage()) {
  
  				/** Serialization index. **/
  				private static final long serialVersionUID = 1L;
  
  			};
  		}
  	}
docs: Custom deserialization processing method that
  create a new valid {@link HttpRequestExecutor}
  instance from the internally stored cookie value.
  
  @return Valid {@link HttpRequestExecutor} instance.
  @throws ObjectStreamException If any error occurs during deserialization process.