add createOffer to core.peerconnection

Done