Correct dress : it is important to cover your knees (a calf length skirt or loose trousers) and the tops of your arms (a tee shirt or something with cap sleeves is fine). Obviously no bare midriffs, and no tank or halter tops or shorts. You don't need to cover your head - except from the sun. You can relax this rule a bit at the main tourist sites like Petra, but don't relax it too far. Just remember that wherever you are, the more you show, the more you are going to get looked over. It would be utterly stupid to resent any leers if you are scantily dressed BY LOCAL STANDARDS and remember always that these are not necessarily the same as your own! I think I don't need to say that the beach, especially a private beach, is quite different.
Blending in : you are going to stand out anyway. Watch the way the Arab women walk in public and you will see that it is quite different from you. Don't worry, behaviour is the most important. Don't hesitate to denounce (loudly!) any undue familiarities, they will almost certainly stop immediately. Don't worry about hurting anybody's feelings by a refusal, the guys know what is correct behaviour better than you do, and will not normally resent it, however disappointed they might be personally!
See [http://www.jordanjubilee.com/travelme/women.htm]