Are you just wanting to redirect with the full URI preserved? In F5 terms, the host is the host header value, the URI is everything after the host which includes the path and the query string. The query string is everything in the URI after the question mark:
when HTTP_REQUEST {
Check if host, set to lower case, is admin.mysite.com
if { [string tolower [HTTP::host]] eq "admin.mysite.com"} {
Redirect client to same host and URI via https
HTTP::redirect "https://admin.mysite.com[HTTP::uri]"
}
}