Retrieves a user's public profile by username (or the current user when omitted).
GET /profile
If username is null or the literal "null", the current authenticated user is used.
Returns a profile view tailored to the requester's visibility/relationship.
Request