Shared gateway option parsing helpers.
@spec optional_string( keyword(), atom() ) :: String.t() | nil