You can visit family, but you're right. You should have evidence that you are still enrolled in the program, as well as evidence that you plan to travel there before your program starts in case you are questioned by a border official. If you have your living accommodations settled, bring those documents. You may want to book a bus, train, or plane ticket to your final destination before you enter the US.
www.gassonlaw.com - Disclaimer: This a general answer to your legal question. Unless you have a signed engagement letter with me, you should not consider this information to be legal advice.