Using https as the protocol will not even work by itself. There has to be corresponding stream handler and an implementaion of URLConnection for corresponding to that handler.
Read about protocol stream handlers. You should be able to find coverage on this topic in any good book on Java Networking.
I would recommend the O'Reilly book Java Network Programmingby Elliotte Rusty Harold