add parameter for setting the remote forward format, fixes #46