When you edit your app settings at Twitter.com, you can asked for a return url, but you can set it to localhost/return. Can you?
I think this is useful in developing time.
When I fill the form with this url: http://localhost/return
I get this error: Not a valid URL format